package com.qfedu.zy.controllers;


import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/x")
public class XController {

    @RequestMapping("/add.do")
    @RequiresPermissions("sys:x:save")
    public String add(){
        System.out.println("x----------add");
        return "/index.jsp";
    } @RequestMapping("/update.do")
    @RequiresPermissions("sys:x:save")
    public String update(){
        System.out.println("x----------update");
        return "/index.jsp";
    } @RequestMapping("/del.do")
    @RequiresPermissions("sys:x:save")
    public String del(){
        System.out.println("x----------del");
        return "/index.jsp";
    } @RequestMapping("/find.do")
    @RequiresPermissions("sys:x:save")
    public String find(){
        System.out.println("x----------find");
        return "/index.jsp";
    }

}
